package com.example.dto;

import com.example.entity.Record;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("记录返回对象")
public class RecordResult {
    @ApiModelProperty("根据时间先后排序")
    private List<Record> sortByTime;
    @ApiModelProperty("根据成绩高低排序")
    private List<Record> sortByGrade;
}
